fs.unlink() is an asynchronous method for deleting files. It takes a callback function to handle the result.
fs.unlink()
fs.unlinkSync() is a synchronous method for deleting files. It blocks the execution until the file is deleted.
fs.unlinkSync()